package org.s3.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.s3.project.entity.Admin;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author cfx
 * @version 1.0
 * @Description
 * @date 2025/2/9 9:37
 */
@Mapper
@Repository
public interface AdminMapper extends BaseMapper<Admin> {


    Admin login(Admin admin);

//    @Select("select * from admin where id = #{adminId}")
//    List<Admin> selectAdminNameById(@Param("adminId") Integer adminId);
}
